package org.lyd.spring.restful.comom;

import lombok.Getter;

/**
 * @Author:lyd
 **/


@Getter
public enum ResultCodeEnum {
    SUCCESS(200, "成功"),
    BUSINISS_ERROR(500, "业务错误");

    private final int code;
    private final String message;

    ResultCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
